#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "besierspline.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_actionnew_triggered();

    void on_btn_break_clicked();

    // select
    void spline_select(besierspline*);

    void on_actiondelete_triggered();

    void on_btn_raise_clicked();

private:
    Ui::MainWindow *ui;
    besierspline *selectedSpline=NULL;
};
#endif // MAINWINDOW_H
